package com.atguigu.edustatistics.Client;

import com.atguigu.commonutils.R;
import com.atguigu.edustatistics.Client.hystrix.MemberHystrix;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author cyt
 * @create 2020-06-04 8:33
 */
@Component
@FeignClient(name = "service-ucenter", fallback = MemberHystrix.class)
public interface StatisticsMemberCilent {
    @GetMapping("/ucenterservice/apimember/getRegisterNumByDate/{day}")
    public R RegisterNumByDate(@PathVariable("day") String day);
}
